﻿using RightControl.IService;
using RightControl.Model;
using System.Collections.Generic;

namespace RightControl.IService {
    public interface ISubProductSizeService : IBaseService<SubProductSize> {
        int SaveSubProductSize(IEnumerable<SubProductSize> entitys);

        List<SubProductSize> GetSubProductSizeList(SubProductSize filter, PageInfo pageInfo);

        bool UpdateSubProductSizes(IEnumerable<SubProductSize> subProdList, string updatefields);

        bool DeleteByProdcutId(int productId, int userId);
    }
}
